<template>
    <div>111
        <nuxt-link :to="$i18n.path('indexfull')">111</nuxt-link>
            <p>{{ $t('about.introduction') }}</p>
              <NuxtLink v-if="$i18n.locale === 'en'" :to="`/fr` + $route.fullPath" class="Header__Link" active-class="none" exact>
            {{ $t('links.french') }}
          </NuxtLink>
          <NuxtLink v-else :to="$route.fullPath.replace(/^\/[^\/]+/, '')" class="Header__Link" active-class="none" exact>
            {{ $t('links.english') }}
          </NuxtLink>
    </div>
</template>>
<script>
import Cookies from 'js-cookie'
import Logo from '~/components/Logo.vue'
import {signin,menu1} from '../../axios/Api.js'
 import { mapState, mapMutations, mapActions, mapGetters } from 'vuex';
export default {
  middleware: 'authenticated',
    layout: 'blog',
  data(){
    return {
          list1:0,
          list:0,
          token:100,
    }
  },
  components: {
    Logo,

  },
  computed:{
    ...mapState('geo',['position'])
  },
   async asyncData(ctx) {
     
   },
  async created(){
    //   const menu =  await signin(this)
    //  const menu2 =  await menu1(this)

    // console.log(menu)
    // console.log(menu2)
    //  console.log(process.env.NODE_ENV)
  },
 mounted(){
  Cookies.set('token',1000)
   this.setPosition1()
  
 },
  methods: {
    route:()=>{
        this.$router.push('/abouy')
    },
    ...mapMutations('geo', [
      'setPosition1'
    ]),
  },
}
</script>

<style>